import { cache } from '@utils'
function index() {
    const user = cache.get(cache.key.USER_INFO)
    const isPlatform = user.userGroupResDTO && user.userGroupResDTO.level == 0
    const isLevel1 = user.userGroupResDTO && user.userGroupResDTO.level == 1
    return { isPlatform, isLevel1 }
}

export default index
